﻿@model ScrumProject.Models.User

@{
    ViewBag.Title = "Delete";
}

<h2>Delete User</h2>

<h3>Are you sure you want to delete this?</h3>

<table class="table">
    <thead></thead>
    <tbody>
        <tr>
            <td>
                Username
            </td>
            <td>
                @Html.TextBoxFor(model => model.Username, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
          <tr>
            <td>
                Password
            </td>
            <td>
                @Html.TextBoxFor(model => model.Password, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
         <tr>
            <td>
                Name
            </td>
            <td>
                @Html.TextBoxFor(model => model.Name, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
        <tr>
            <td>
                 Surname
            </td>
            <td>
                @Html.TextBoxFor(model => model.Surname, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                @Html.TextBoxFor(model => model.Email, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
        <tr>
            <td>
                 isAdmin
            </td>
            <td>
                @Html.TextBoxFor(model => model.isAdmin, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
        <tr>
            <td>
            </td>
            <td>
               @using (Html.BeginForm())
               {
           <input type="submit" value="Delete" class="btn" /> @Html.ActionLink("Back to List", "Index") }
                </td>
            <td>
            </td>
        </tr>
    </tbody>
    </table>

